A Parameter passed by Reference Cannot have a Default Value Error
In the method declaration, you declared a parameter ByRef but also tried to assign it a default value.
The following parameter declaration is not allowed
:
You can either remove the ByRef keyword or remove the default value assignment.
ByRef keyword.